c1599a779174f4c2364a0b84408b1af964d9f7d8,opennms-services/src/test/java/org/opennms/netmgt/poller/remote/PollerFrontEndIntegrationTest.java,PollerFrontEndIntegrationTest,setUpConfiguration,#,59

Before Change


        
        m_fileAnticipator = new FileAnticipator();
        
        System.setProperty("opennms.poller.configuration.resource", m_fileAnticipator.expecting("remote-poller.configuration").toURL().toString());
    }

After Change


        
        m_fileAnticipator = new FileAnticipator();

        String filename = m_fileAnticipator.expecting("remote-poller.configuration").getCanonicalPath();
        filename = filename.replace("+", "%2B");
        System.setProperty("opennms.poller.configuration.resource", "file://" + filename);
    }